<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />        
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
    <!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
    <!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
        <!-- Internet Explorer HTML5 enabling code: -->
        
        <!--[if IE]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        
        <style type="text/css">
        .clear {
          zoom: 1;
          display: block;
        }
        </style>        
        <![endif]-->
        
    </head>    
    <body>    	
    	<section id="page"> <!-- Defining the #page section with the section tag -->
    
            <header> <!-- Defining the header section of the page with the appropriate tag -->
            
                <hgroup>
                <h1><img alt="logoSH" src="<?php echo Yii::app()->request->baseUrl; ?>/images/logoserhumanoblanco.png" /><?php echo CHtml::encode(Yii::app()->name); ?></h1>
                    <h3>20 años de ser la respuesta de la gente del arte de la pandemia del SIDA, en México</h3>
                </hgroup>
                                
                <nav class="clear" id="mainmenu"> <!-- The nav link semantically marks your main site navigation -->
						<?php $this->widget('zii.widgets.CMenu',array(
							'items'=>array(
								array('label'=>'Inicio', 'url'=>array('/site/index')),
								array('label'=>'Nueva Cita', 'url'=>array('citas/create')),
								array('label'=>'Historial Médico', 'url'=>array('visitasMedicas/admin')),
								array('label'=>'Pacientes', 'url'=>array('pacientes/admin')),
								array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
								array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
							),
						)); ?>

                </nav>
            </header>
            
            <section id="articles"> <!-- A new section with the articles -->
				<!-- Article 1 start -->
                <div class="line"></div>  <!-- Dividing line -->
                <article id="article"> <!-- The new article tag. The id is supplied so it can be scrolled into view. -->
                    <div class="articleBody clear">
						<?php echo $content; ?>
                    </div>
                </article>
				<!-- Article end -->
            </section>

        <footer> <!-- Marking the footer section -->
           <div class="line"></div>
           <p>Ser Humano, A.C., reconoce, acepta e informa que las marcas, nombres comerciales, avisos comerciales, nombres de dominio, diseños, dibujos y demás signos distintivos que aparecen en la presente sección, son propiedad exclusiva de cada uno de sus titulares.</p> <!-- Change the copyright notice -->
           <a href="#" class="up">Subir</a>
           <a href="http://www.extendsolutions.net" class="logoestendsolution"><img src= "<?php echo Yii::app()->request->baseUrl; ?>/images/extendsolutionslogo.png" alt="logoExtendsolutions"/> </a>
           
        </footer>
		</section> <!-- Closing the #page section -->
    </body>
</html>
